package cc.realxyq.springboot.db.mongodb.dao;

import cc.realxyq.springboot.db.mongodb.baens.MongoUser;
import com.mongodb.client.result.DeleteResult;

import java.util.List;

/**
 * @author : [buleing]
 * @version : [v1.0]
 * @description : [一句话描述该类的功能]
 * @createTime : [2021/6/11 17:02]
 * @updateUser : [buleing]
 * @updateTime : [2021/6/11 17:02]
 * @updateRemark : [说明本次修改内容]
 */
public interface MongoDbUserDao {
    MongoUser save(MongoUser user);
    DeleteResult delete(MongoUser user);
    Long update(MongoUser user);
    List<MongoUser> findByName(MongoUser user);
}
